#include "SelectServer.hpp"

void Usage(string proc)
{
    cout <<"Usage:\n\t"<< proc << " port" << endl;
}

//Server port;
int main(int argc, char *argv[])
{
    if(argc != 2){
        Usage(argv[0]);
        exit(1);
    }

    SelectServer *ssvr = new SelectServer(atoi(argv[1]));
    ssvr->InitServer();
    ssvr->Start();

    return 0;
}
